package com.airclick.merchant.service;

import com.airclick.merchant.entity.MerDomain;
import com.airclick.merchant.utils.CommonResult;

import java.util.List;

/**
 * @author caiwangjue
 * @date 8/11/21 2:19 PM
 */
public interface MerService {

    String findAllByUsername(String username);

    int updatePassword(String userName, String newpassword);

    MerDomain merDomainUser(String id);

    int updateUser(String id,String status ,String note);

    MerDomain addUser(String userName, String password, String email);

    long merConunt();

    List<String> selectSaveUser();

    List<String> theDailyStatistics(String date);

    MerDomain selectId(String userName);

    String merUserEmail(String userName);

    CommonResult merDomainCommon(String status, String startTime, String endTime, Integer pageNum, Integer pageSize);
}
